## Stonescript syntax highlight
# Installation: copy this file to:
#    windows: <AppData>\Roaming\geany\filedefs
#    linux:   ~/.config/geany/filedefs
# Then in geany open `Tools/Configuration Files/filetype_extensions.conf`
# and add this line to [Extensions] section:
#
#   Stone=*.stone;
#
# and append this to `Script` line in section [Groups]:
#
#   Stone;
#
# so it looks like this:
#
#   Script=Graphviz;Stone;


[styling=C]
[lexer_properties=C]

[keywords]
# all items must be in one line
primary=loc foe hp maxhp pickup harvest armor maxarmor item distance res input screen time totaltime utc player totalgp key face ai pos debuffs buffs count name id stars begin loop bestTime averageTime storage ambient music draw math te ui button
secondary=return equip equipL equipR activate var func int string new loadout import rngf rng brew disable enable play GetCooldown GetCount CanActivate Add Stop Bg Box Clear GetSymbol Player Parse Leave Pause Abs Sign Min Max Clamp Round RoundToInt Floor FloorToInt Ceil CeilToInt Lerp Log Pow Sqrt pi ToDeg ToRad Acos Asin Atan Cos Sin Tan Play Stop ShowScaredFace FromWorldX FromWorldZ ToWorldX ToWorldZ Next Previous ResetOffset Delete Get Has Incr Set Break Capitalize Equals Format IndexOf Size Sub ToLower ToUpper language xt GetTID ToEnglish FormatCasual FormatDigital Clear AddButton SetPressed Type Split Join

[settings]
lexer_filetype=C
extension=stone.txt

comment_single=//
comment_open=/*
comment_close=*/
comment_use_indent=false

[indentation]
width=8
# 0 is spaces, 1 is tabs, 2 is tab & spaces
type=1
